import axios from 'axios'

export const requestGet = async ({ url }: any) => {
  return new Promise<Response>((resolve, reject) => {
    axios.get(url)
    .then((res) => resolve(res.data))
    .catch((e) => reject(e))
  })
}
